package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业活动记录对象 sys_activities
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class SysActivities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专业活动记录 */
    private Integer id;

    /** 对外合作事项 */
    @Excel(name = "对外合作事项")
    private Integer cooperationItemId;

    /** 合同文档 */
    @Excel(name = "合同文档")
    private String activityName;

    /** 台账记录 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "台账记录", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityDate;

    /** 上传活动信息 */
    @Excel(name = "上传活动信息")
    private String description;

    /** 文档 */
    @Excel(name = "文档")
    private String photoPath;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCooperationItemId(Integer cooperationItemId) 
    {
        this.cooperationItemId = cooperationItemId;
    }

    public Integer getCooperationItemId() 
    {
        return cooperationItemId;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityDate(Date activityDate) 
    {
        this.activityDate = activityDate;
    }

    public Date getActivityDate() 
    {
        return activityDate;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPhotoPath(String photoPath) 
    {
        this.photoPath = photoPath;
    }

    public String getPhotoPath() 
    {
        return photoPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cooperationItemId", getCooperationItemId())
            .append("activityName", getActivityName())
            .append("activityDate", getActivityDate())
            .append("description", getDescription())
            .append("photoPath", getPhotoPath())
            .toString();
    }
}
